package jwanalytics.ejb.webhouse;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="client_system_dimension")
@SequenceGenerator(name="c_client_system_sequence", sequenceName="c_client_system_sequence")
public class ClientSystemDimension {
	
	/** Id or primary key field of this class. */
	private Long id;
	
	/** This will receive the user agent. */
	private String userAgent;
	
	/** This will receive the accept language field as it is received from the browser. */
	private String acceptLanguage;	
	
	
	@Id
 	@Column(name="client_system_key")
 	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="c_client_system_sequence")
	public Long getId() {
		return id;
	}
	
	
	public void setId(Long id) {
		this.id = id;
	}
	
	
	@Column(name="user_agent")	
	public String getUserAgent() {
		return userAgent;
	}
	
	
	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}
	
	
	@Column(name="accept_language")		
	public String getAcceptLanguage() {
		return acceptLanguage;
	}
	
	
	public void setAcceptLanguage(String acceptLanguage) {
		this.acceptLanguage = acceptLanguage;
	}
	
}
